#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
@author coldwind
"""
import codecs


def count(path='test.csv'):
    with codecs.open(path, "r", "utf-8") as f:
        first_tok = f.readline().split(None, 1)[0]
        return len(first_tok.split(u"￨")) - 1


count()
